package com.loobot.album.exception;

/**
 * @author: Ike.Fan
 * @date: 2018/11/20.
 */
public class ArgumentErr {
    private String defaultMsg;
    private String errField;
    private Object rejectedValue;

    public ArgumentErr(String defaultMsg, String errField, Object rejectedValue) {
        this.defaultMsg = defaultMsg;
        this.errField = errField;
        this.rejectedValue = rejectedValue;
    }

    public String getDefaultMsg() {
        return defaultMsg;
    }

    public void setDefaultMsg(String defaultMsg) {
        this.defaultMsg = defaultMsg;
    }

    public String getErrField() {
        return errField;
    }

    public void setErrField(String errField) {
        this.errField = errField;
    }

    public Object getRejectedValue() {
        return rejectedValue;
    }

    public void setRejectedValue(Object rejectedValue) {
        this.rejectedValue = rejectedValue;
    }
}
